package com.hp.mapper;

import com.hp.bean.Customer;

import java.util.List;

public interface CustomerMapper {
    //查询
    List<Customer> selectfind();
    //添加
    int add(Customer customer);
    //修改
    int upp(Customer customer);
    //回显
    Customer findById(Integer id);
    //删除
    int del(Integer id);

    //会员登陆添加
    List<Customer> login(String phone);
    int insert(Customer customer);

    List<Customer> getList(Integer id);
}
